package com.ymttest.database.mongo;

import java.util.List;

public class SmsRecordBean {
	private String reference_id;
	
	public String getReference_id() {
		return reference_id;
	}

	public void setReference_id(String reference_id) {
		this.reference_id = reference_id;
	}

	/**
    * 编号
    */
    public String _id ;

    /**
    * 应用编号
    */
    public String AppId ;

    /**
    * 接口名称
    */
    public String ApiName ;

    /**
    * 渠道编号
    */
    public String ChannelId ;

    /**
    * 渠道名称
    */
    public String ChannelName ;

    /**
    * 手机号
    */
    public List<String> Phones ;

    /**
    * 短信内容
    */
    public String Content ;

    /**
    * 创建时间
    */
    public Object CreatedTime ;

    /**
    * 发送时间
    */
    public Object SendedTime ;

    /**
    * 客户端IP
    */
    public String ClientIp ;

    /**
    * 服务器IP
    */
    public String ServerIp ;

    /**
    * 消息执行的状态
    * 
    * 状态码：
    * 初始Init = 0,
    * 已接收到消息Received = 1,
    * 接收到消息失败ReceivedFail = 2,
    * 已发送到消息总线SendToQueueSuccess = 3,
    * 发送到消息总线失败SendToQueueFail = 4,
    * 消息总线已回调通知ReceiveFromQueue = 5,
    * 已成功发送消息到服务商SendMessageSuccess = 6,
    * 发送消息到服务商失败SendMessageFail = 7,
    * 手机号在黑名单中InBlackList = 8
    * 
    * 非生产环境下，正常情况下是 发送消息到服务商失败SendMessageFail = 7
    */
    public int MessageAction ;

    /**
    * 备注
    */
    public String Comment ;

    /**
    * 调用短信服务商接口时返回的响应结果
    */
    public String ResponseMessage ;

    /**
    * 发送短信失败时的异常信息
    */
    public String ExceptionMessage ;

    /**
    * 一条长短信按行业规则被拆分成短信条数
    */
    public int Number ;

	

	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getAppId() {
		return AppId;
	}

	public void setAppId(String appId) {
		AppId = appId;
	}

	public String getApiName() {
		return ApiName;
	}

	public void setApiName(String apiName) {
		ApiName = apiName;
	}

	public String getChannelId() {
		return ChannelId;
	}

	public void setChannelId(String channelId) {
		ChannelId = channelId;
	}

	public String getChannelName() {
		return ChannelName;
	}

	public void setChannelName(String channelName) {
		ChannelName = channelName;
	}

	public List<String> getPhones() {
		return Phones;
	}

	public void setPhones(List<String> phones) {
		Phones = phones;
	}

	public String getContent() {
		return Content;
	}

	public void setContent(String content) {
		Content = content;
	}

	public Object getCreatedTime() {
		return CreatedTime;
	}

	public void setCreatedTime(Object createdTime) {
		CreatedTime = createdTime;
	}

	public Object getSendedTime() {
		return SendedTime;
	}

	public void setSendedTime(Object sendedTime) {
		SendedTime = sendedTime;
	}

	public String getClientIp() {
		return ClientIp;
	}

	public void setClientIp(String clientIp) {
		ClientIp = clientIp;
	}

	public String getServerIp() {
		return ServerIp;
	}

	public void setServerIp(String serverIp) {
		ServerIp = serverIp;
	}

	public int getMessageAction() {
		return MessageAction;
	}

	public void setMessageAction(int messageAction) {
		MessageAction = messageAction;
	}

	public String getComment() {
		return Comment;
	}

	public void setComment(String comment) {
		Comment = comment;
	}

	public String getResponseMessage() {
		return ResponseMessage;
	}

	public void setResponseMessage(String responseMessage) {
		ResponseMessage = responseMessage;
	}

	public String getExceptionMessage() {
		return ExceptionMessage;
	}

	public void setExceptionMessage(String exceptionMessage) {
		ExceptionMessage = exceptionMessage;
	}

	public int getNumber() {
		return Number;
	}

	public void setNumber(int number) {
		Number = number;
	}   
    
}
